<template>
  	<div class="app-container">
      	<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="92px">
			<el-form-item label="手机号码" prop="phone">
				<el-input v-model="queryParams.phone" placeholder="请输入" clearable @keyup.enter.native="handleQuery" />
			</el-form-item>
			<el-form-item>
				<el-button type="primary" icon="el-icon-search" size="mini" @click="clearTest">清除测试数据</el-button>
			</el-form-item>
      	</el-form>
  </div>
</template>

<script>
import { deleteTest} from "@/api/tool";

export default {
	data() {
		return {
			queryParams: {},
		};
	},
 	methods: {
		clearTest() {
			deleteTest(this.queryParams).then(res => {
				this.$modal.msgSuccess("清除成功");
			})
		},
	}
};
</script>